

<!-- <view id='float'>
	<view>

        
		<view>{{userInfo.nickName}}</view>
	</view>
</view> -->


<toast wx:if='{{showToast}}' bindloginSuccess="onLoginSuccess1" bindcannel='onCannel1'></toast>
<view class='floatView' wx:if='{{showFloat}}'>
  <!-- 发布按钮	 -->
  <view class='infoView' wx:if='{{isButler}}'>
	  <view class='a' bindtap='turnPage'  data-url='/pages/sendYanXuan2/sendYanXuan'>发布塔吊</view>
	  <view class='b' bindtap='turnPage'  data-url='/pages/sendYanXuan/sendYanXuan'>发布电梯</view>
	  <view class='c' bindtap='closeFloat'>
	  	 <image class="image1" src="../../image/lcose_icon.png" />
	  </view>
  </view>
  <!-- 弹窗按钮	 -->
  <view class='otherInfo' wx:if='{{!isButler}}'> 
  	  <view class='a'>我要卖设备</view>
  	  <view class='b'>
  	  	<label>24小时内会有塔塔严选机管家联系您</label>
        <input   maxlength="11" type="number"  name="" placeholder="请输入手机号" value="{{phone}}" bindinput='textPhone'/>
  	    
  	  <view class='c'>
  	  	<view bindtap='closeFloat'>取消</view>
  	  	<view bindtap='bindPhone'>确定</view>
  	  </view>
   </view>
  </view>

</view>

<login wx:if='{{showLogin}}' bindloginSuccess="onLoginSuccess" bindcannel='onCannel'></login>
<view id='minePage'>
	<view class="detail_header">
		<image class="image1" src="../../image/mine/my_bg.png" />
		<view class="header_image">
			<image bindtap='editInfo' wx:if='{{userInfo.avatarUrl}}' mode="" src="{{userInfo.avatarUrl}}" />
            <button wx:if='{{!userInfo.avatarUrl}}'  open-type='getUserInfo'  bindgetuserinfo="bindGetUserInfo"></button>
			<image class='red-icon' mode="" src="../../image/eredar/authentication_icon_red.png" />
		</view>
		<view class="header_content">
			<view class="user_info">
				<view>
					<text>{{userInfo.nickName||'点击头像设置'}}</text>
					<!-- <label bindtap='editInfo'>编辑</label> -->
					<image class="image1" bindtap='editInfo'  src="../../image/mine/edit.png" />
				</view>
				<view><image wx:for="{{[1,2,3,4,5]}}" mode="widthFix" src="../../image/eredar/star_icon.png" /></view>
				<view>
					<image mode="widthFix" src="../../image/eredar/position_icon_shallow.png" /><text>{{userInfo.province}}{{userInfo.city}}</text>
					<!-- <text>粉丝：80</text> -->
				</view>
			</view>
			<view class="header_gz" bindtap="eredarClick" data-code='{{userInfo.openid}}'>
				<view>
					<label>我的店铺</label>
					<image class="image2" src="../../image/mine/jrmp.png" />
				</view>
			</view>
		</view>
	</view>

	<view class='top'>
		

		<view class='items'>
			<!-- <navigator url="/pages/sendSheBei/sendSheBei" hover-class="navigator-hover"> -->
			<view bindtap='turnPage'  data-url='/pages/sendSheBei/sendSheBei'>
				<image class='top-icon' src="../../image/mine/fabsheb.png" /> 
				<label>发布设备</label> 
			</view>
			<view bindtap='showFloat'>
				<image class='top-icon' src="../../image/yxj/fbyxj.png" /> 
				<label>发布严选机</label> 
			</view>
		    <!-- </navigator> -->
		    <!-- <navigator url="/pages/sendSheQu/sendSheQu" hover-class="navigator-hover"> -->
			<view bindtap='turnPage'  data-url='/pages/sendSheQu/sendSheQu'>
				<image class='top-icon' src="../../image/mine/fabutz.png" /> 
				<label>发布帖子</label> 
			</view>
			<!-- </navigator> -->

		</view>
	</view>

	<view class='pageList'>
		<view class='item' bindtap='turnPage' data-url='/pages/mineCoupon/mineCoupon'>
			<image class="image1" src="../../image/mine/concession_icon.png" />
			<label>我的优惠券</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<view class='item' bindtap='turnPage' data-url='/pages/order/order'>
			<image class="image1" src="../../image/mine/myorder.png" />
			<label>我的订单</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<view class='item' bindtap='turnPage' data-url='/pages/mineSheBei-s/mineSheBei'>
			<image class="image1" src="../../image/mine/fbyxj_icon.png" />
			<label>发布的严选机({{pageObj.yxjnum}})</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<!-- <navigator url="/pages/mineSheBei/mineSheBei" hover-class="navigator-hover"> -->
		<view class='item' bindtap='turnPage' data-url='/pages/mineSheBei/mineSheBei'>
			<image class="image1" src="../../image/mine/wfbdsb.png" />
			<label>发布的设备({{pageObj.equipmentNum}})</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<!-- </navigator> -->
		<!-- <navigator url="/pages/mineTieZi/mineTieZi" hover-class="navigator-hover"> -->
		<view class='item'  bindtap='turnPage' data-url='/pages/mineTieZi/mineTieZi'>
			<image class="image1" src="../../image/mine/wfbdtz.png" />
			<label>发布的帖子({{pageObj.articlesNum}})</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<view class='item'  bindtap='turnPage' data-url='/pages/address/address?type=mine'>
			<image class="image1" src="../../image/mine/myaddress.png" />
			<label>我的地址</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<!-- </navigator> -->
		<!-- <navigator url="/pages/mineGuanZhuSheBei/mineGuanZhuSheBei" hover-class="navigator-hover"> -->
		<!-- <view class='item'>
			<image class="image1" src="../../image/mine/scdsb.png" />
			<label>收藏的设备</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view> -->
		<!-- </navigator> -->
	    <!-- <navigator url="/pages/minePeople/minePeople" hover-class="navigator-hover">  -->
		<view class='item' bindtap='turnPage' data-url='/pages/minePeople/minePeople'>
			<image class="image1" src="../../image/mine/gzdr.png" />
			<label>我关注的人</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<!-- </navigator> -->
		<!-- <navigator url="/pages/mineGuanZhu/mineGuanZhu" hover-class="navigator-hover"> -->
        <view class='item' bindtap='turnPage' data-url='/pages/invitation/invitation'>
			<image class="image1" src="../../image/mine/gif_icon.png" />
			<label>邀请有礼</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>

		<view class='item' bindtap='turnPage' data-url='/pages/mineGuanZhu/mineGuanZhu'>
			<image class="image1" src="../../image/mine/gzdtz.png" />
			<label>我收藏的帖子</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
		<!-- </navigator> -->
		<navigator url="/pages/test/test" hover-class="navigator-hover"> 
		<view class='item'>
			<image class="image1" src="../../image/mine/gytt.png" />
			<label>关于塔塔</label> 
			<image class="image2" src="../../image/mine/jrxq.png" />
		</view>
	    </navigator>
	</view>
</view>